//
//  YWTopicCell.m
//  网易新闻
//
//  Created by Yeewii@hotmail.com on 16/6/17.
//  Copyright © 2016年 Yeewii@hotmail.com. All rights reserved.
//

#import "YWTopicCell.h"
#import <UIImageView+WebCache.h>

@implementation YWTopicCell


- (void)awakeFromNib {
    [super awakeFromNib];
    
}

-(void)setModel:(YWTopicInternalBaseClass1 *)model
{
    _model            = model;
    [_bgImage sd_setImageWithURL:[NSURL URLWithString:_model.picUrl]];
    _titleLabel.text  = [NSString stringWithFormat:@"# %@ #",_model.topicName];
    _followCount.text = [NSString stringWithFormat:@"已有%.f参与",_model.focusNum];
    
}
@end
